<?php
/**
* @myIPN for sobi 2
* @Copyright (C) 2007 Ethan Chai Voon Chong, http://www.ethansoft.com
* @All Rights Reserved
*/


defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

class menuEntry {
	function DEFAULT_MENU() {
		mosMenuBar::startTable();
		mosMenuBar::deleteList();
		mosMenuBar::help( 'myipn.list.html', true );
		mosMenuBar::spacer();
		mosMenuBar::endTable();
	}
	
	function EDIT_MENU( $id ) {
		mosMenuBar::startTable();
		mosMenuBar::save();
		mosMenuBar::apply();
		mosMenuBar::cancel();
		mosMenuBar::divider();
		mosMenuBar::spacer();
		mosMenuBar::endTable();
	}

	function CONFIG_MENU() {
		mosMenuBar::startTable();
		mosMenuBar::save("saveconfig");
		mosMenuBar::apply("applyconfig");
		mosMenuBar::cancel();
		mosMenuBar::spacer();
		mosMenuBar::endTable();
	}

	function BACK_MENU() {
		mosMenuBar::startTable();
		mosMenuBar::back();
		mosMenuBar::spacer();
		mosMenuBar::endTable();
	}

	function ABOUT_MENU() {
		mosMenuBar::startTable();
		mosMenuBar::back();
		mosMenuBar::spacer();
		mosMenuBar::endTable();
	}

}
?>
